package edu.hawaii.duedates.configuration.jaxb;

import static org.junit.Assert.assertNotNull;
import org.junit.Test;

/**
 * Test case for ObjectFactory jaxb class.
 * @author Creighton Okada
 */
public class TestObjectFactory {
  /**
   * Test Object Factory functionality.
   */
  @Test
  public void testObjectFactory() {
    ObjectFactory factory = new ObjectFactory();
    
    DueDates dd = factory.createDueDates();
    Users users = factory.createUsers();
    User user = factory.createUser();
    Library lib = factory.createLibrary();
    Libraries libs = factory.createLibraries();
    
    assertNotNull("Should not be null.", dd);
    assertNotNull("Should not be null.", users);
    assertNotNull("Should not be null.", user);
    assertNotNull("Should not be null.", lib);
    assertNotNull("Should not be null.", libs);
  }
}
